CNetLink is a custom class of the canvas class that lets you easily create “Internet” links in your RB applications .
How to use it?
Drag a canvas object to your window, then choose “CNetLink” in the Super PopUp from the “Porperties” window or just drag the CNetLink Class from your project window to your window.
If the name of the canvas is “Canvas1” then all commands are entered in the Open and Action events of the canvas
me.Text = "MacManiacSW@idmac.com" // Text to be displayed
me.Font = "Geneva" // Prefered Font
me.Size = 9 // Prefered Size
me.Underline = True // Underlined or not
me.Bold = False // Bold or not
me.LinkColor = RGB(0,0,255) // Color of the link
me.ClickedLinkColor = RGB(255,0,0) // Color of the link when it is cilicked
Action Event:
Just put a “ShowURL” command in it!
ShowURL "mailto:MacManiacSW@idmac.com"
ShowURL"http://www.apple.com/"
ShowURL"ftp://ftp.apple.com/"
If you need more informations, check out the demo project to see how it works.
Who made it?
MacManiac Software
Olivier Robert
5, Impasse des Colibris
F-57150 France
Site: http://MacManiacSW.idmac.com/
Email: MacManiac-Software@kagi.com
Legal blabla:
CNetLink is free but copyrighted. If you use it in shareware, freeware, or commercial software, you have to mention me in the documentation or splash screen or about box or in a “Special Thanks” text.
This software may be distributed freely as long as the demo program and this readme remain unchanged with the class. This software may not be included in any software compilation CD's without the prior permission of the author.
N.B. I would really appreciate getting a fee copy of the application using this class, but that's not a demand. At least, send me an email if you use it ;-)